﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JCTimes.DomainModel.Entity;
using JCTimes.DomainModel.Repository;

namespace JCTimes.EFRepository.RepositoryImpl
{
    public class ViewRepository : IViewRepository {
        protected readonly JCTimesDbContext db = new JCTimesDbContext();

        public IQueryable<T> GetList<T>() where T : class {
            return db.Set<T>();
        }
    }
}
